/**
 * eventBus函数调用后返回的对象
 */
export interface eventBusType<T, K extends readonly [...any[]]> {
    store: T;
    eventMap: Map<string, Set<Function>>
    on: (eventName: string, callback: Function) => void;
    once: (eventName: string, callback: Function) => void;
    off: (eventName: string, callback: Function) => void;
    emmit: ( ...args:K) => void;
}